package com.mfangsoft.zhuangjialong.integration.activity.service;

import java.util.List;
import java.util.Map;

import com.mfangsoft.zhuangjialong.app.entryactivity.model.BaseEntryActivity;
import com.mfangsoft.zhuangjialong.app.order.model.OrderGift;
import com.mfangsoft.zhuangjialong.common.model.Page;
import com.mfangsoft.zhuangjialong.core.exception.ServiceException;
import com.mfangsoft.zhuangjialong.integration.activity.model.BaseActivityInfo;
import com.mfangsoft.zhuangjialong.integration.activity.model.BaseActivityInfoItem;
import com.mfangsoft.zhuangjialong.integration.activity.model.BaseActivityShop;
import com.mfangsoft.zhuangjialong.integration.customer.model.Customer;
import com.mfangsoft.zhuangjialong.integration.gift.model.BaseGift;
import com.mfangsoft.zhuangjialong.integration.order.model.BaseOrder;

public interface ActivityService {
	
	

	void addAdminActivity(BaseActivityInfo baseActivityInfo)throws ServiceException;
	
	void addActivbity(BaseActivityInfo baseActivityInfo)throws ServiceException;

	void addActivbityItem(BaseActivityInfoItem baseActivityInfoItem);

	Page<BaseActivityInfo> selectAdminActivityPage(Page<BaseActivityInfo> page);
	
	Page<BaseActivityInfo> selectActivity(Page<BaseActivityInfo> page);
	

	void updateActivity(BaseActivityInfo itme);

	void updateActivityPutaway(BaseActivityInfo baseActivityInfo);

	Map<String, Object> selectActivityOne(Long id);

	void updateActivityOne(BaseActivityInfo baseActivityInfo);

	List<BaseActivityInfo> selectActivityItem(BaseActivityInfo baseActivityInfo);

	void addActivbityShop(BaseActivityShop num);

	Map<String, Object> selectActivityUser(BaseEntryActivity baseEntryActivity);

	
	void uptdateSign(BaseEntryActivity baseEntryActivity);

	void uptdateCard(BaseEntryActivity baseEntryActivity);

	Map<String, Object> selectHelperActivityUser(BaseEntryActivity baseEntryActivity);

	BaseActivityInfo selectSignGo(BaseActivityInfo baseActivityInfo);

	Map<String, Object> selectHelperActivityAll(BaseActivityInfo baseActivityInfo);

	Page<BaseActivityInfo> selectActivityAuditPage(Page<BaseActivityInfo> page);

	BaseEntryActivity selectHelperActivityManage(BaseEntryActivity baseEntryActivity);

	BaseOrder selectHelperAllActivityOrder(BaseOrder baseOrder);

	Page<Map<String, Object>> selectActivityUsers(Page<Map<String, Object>> page);

	Page<Map<String, Object>> selectHelperActivityPage(Page<Map<String, Object>> page);

	void uptdateHelperActivityOrder(OrderGift orderGift);

	Map<String, Object> selectXCXActivity(BaseActivityInfo baseActivityInfo);

	Map<String, Object> selectXCXSigo(Customer customer);

	List<Map<String, Object>> selectXCXHistoryActivity(Integer shop_id);

	List<Map<String, Object>> selectXCXHistoryActivityShop(Map<String, Object> map);

	List<Map<String, Object>> selectXCXHistoryActivityID(Integer shop_id);

	
	
	Map<String,Object>  selectMinShopByLBS(Map<String,Object> map);

	Map<String, Object> selectHelperActivityDetails(BaseActivityInfo baseActivityInfo);

	Page<Map<String, Object>> selectHelperHistoryActivityPage(Page<Map<String, Object>> page);

	Map<String, Object> selectSigoName(BaseActivityInfo baseActivityInfo);

	Integer selectActivityCode(String code);

	List<Map<String, Object>> selectXCXHistoryActivityIDTwo(Integer customer_id);

	List<Map<String, Object>> selectActivityIssueList(Integer activity_id);

	
	

	



	


}
